home *** CD-ROM | disk | FTP | other *** search
/ .net (French) 1996 November / .net Magazine (FR) - Issue 01 - Nov 1996.iso / mac / Outils / Tell Netscape Folder / Changing Netscape helpers next >
Text File  |  1996-05-30  |  904b  |  15 lines

  1. Here are two short applescripts that can be used to change the application that is used to handle a certain protocol in Netscape Navigator¬: one to set Eudora as the application to handle all "mailto:" URLs, and one to set Archie as the application to handle "ftp:" URLs.
  2.  
  3. These AppleScrips can be modified if you want other preferences, the sttructure of the script is:
  4.  
  5. tell application "Netscape Navigator¬ 2.02"
  6.     register protocol "Xxxx" for protocol "Yyyy:"
  7. end tell
  8.  
  9. in which "Xxxx" is the creator type of the application that must handle the protocol ("CSOm" for Eudora, "Arch" for Anarchie), and "Yyyy:" is the protcol part of the URL ("ftp:" for file transfer, "mailto:" for e-mail).
  10.  
  11. The settings can also be changed by ResEditing the Netscape Preferences file, but I am not certain which changes must be made (it looks like the STR# 2003 resource is involved).
  12.  
  13. Hans de Wolf
  14. dewolf@knoware.nl
  15.